package com.pxmeta.party.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 服务价格表
 * </p>
 *
 * @author wcl
 * @since 2022-06-25
 */
@TableName("kt_skill_price")
@ApiModel(value = "服务价格", description = "服务价格表")
@Data
public class SkillPrice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("碰心币价格")
    private Integer price;

    @ApiModelProperty("时长")
    private Integer duration;

    @ApiModelProperty("服务类型")
    private Integer type;

    @ApiModelProperty("技能id")
    private Integer skillId;

    @ApiModelProperty("级别")
    private Integer level;

    @ApiModelProperty("是否是默认价格")
    private Boolean isDefault;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
